package com.gzdh.tang.modu.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gzdh.tang.modu.entity.Fk;
import com.gzdh.tang.modu.entity.MacMainpSbruan;
import com.gzdh.tang.modu.entity.Reserve;
import com.gzdh.tang.modu.entity.ReserveXfjTemp;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

public interface ReserveXfjTempService extends IService<ReserveXfjTemp> {
    public Map<String, Object> toCardPay2(String deviceId, int price, Fk fk, String reqSeqNo,
                                          int type, Date date, JSONObject priceRule) throws RuntimeException;

    boolean insertReserve(String rgTermSN, String reqSeqNo, int price,
                          int sl, Fk fk, MacMainpSbruan macMainpSbruan,
                          String hName, String code, BigDecimal cardPrice, String sc, String orders, Date date,JSONObject priceRule) throws RuntimeException;
}
